package com.lianwei.hospital.Service;

import com.lianwei.hospital.module.entity.Admain;

import java.util.List;

public interface AdmainService {
    Admain selectByPrimaryKey(Integer id) throws Exception;
    boolean insert(Admain admain) throws Exception;
    List<Admain> selectAll() throws Exception;
    boolean deleteByPrimaryKey(Integer id) throws Exception;
    boolean updateByPrimaryKey(Admain admain) throws Exception;
    Admain login(String name, String password) throws Exception;
}
